fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

move

io.file.Move.move

move(old io.path,new io.path) => outcome unit[Abstract feature][src]
moves file/dir from an old path to a the new path
can rename the file/dir as well by changing the name of the old file/dir to a new name in the new_path
returns a unit type as outcome in case of success and error in case of failure

Arguments

old io.path[src]
the old (relative or absolute) file name, using platform specific path separators
new io.path[src]
the new (relative or absolute) file name, using platform specific path separators
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23